const printColumns = require('../bin/lib/printColumns');
let mockColumnDefines = [
    { name: 'Branch', len: 28, symbol: '-', align: 'middle', key: 'name' },
    { name: 'Commit Id', len: 20, symbol: '-', align: 'middle', key: 'commit' },
    { name: 'Last Modifier', len: 20, symbol: '-', align: 'middle', key: 'author' },
    { name: 'Date', len: 20, symbol: '-', align: 'middle', key: 'date' },
]
let mockColumnData = [
    { name: 'feat-test-1', commit: '53c640288e23d240e70442bd1b0623eef156b8eb', author: 'woder.wang', date: '2022-6-1' },
    { name: 'feat-test-2', commit: '53c640288e23d240e70442bd1b0623eef156b8eb', author: 'woder.wang', date: '2022-12-11' },
    { name: 'feat-test-mocke-long-3', commit: '53c640288e23d240e70442bd1b0623eef156b8eb', author: 'woder.wang', date: '2022-6-1' },
    { name: 'feat-test-4', commit: '53c640288e23d240e70442bd1b0623eef156b8eb', author: 'woder.wang', date: '2022-6-1' },
    { name: 'feat-test-5', commit: '53c640288e23d240e70442bd1b0623eef156b8eb', author: 'woder.wang', date: '2022-6-1' },
]
printColumns(mockColumnDefines, mockColumnData);